package com.zhike.common.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@ApiModel("UserBlacklist")
@TableName(value = "zhike_user_blacklist")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Blacklist implements Serializable {
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "id", hidden = true)
    private Long id;

    @ApiModelProperty(name = "name", value = "真实姓名")
    private String name;

    @ApiModelProperty(name = "idCard", value = "身份证号")
    private String idCard;

    @ApiModelProperty(name = "fakeUid", value = "用户ID")
    private String fakeUid;

    @ApiModelProperty(name = "toUid", value = "黑名单用户ID")
    private String toUid;

    @ApiModelProperty(name = "phone", value = "手机号码")
    private String phone;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;
}
